package com.example.base.security.domain.vo;

import com.example.base.validation.annation.NonEmptyArray;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class SysRoleMenuVo {

    @NotNull(message = "角色id不得为空")
    private Integer roleId;

    @NonEmptyArray(message = "菜单id列表不得为空")
    private List<Integer> menuIds;

    private List<Integer> apiIds;
}
